package com.geping.etl.utils.common.commonsql;

/**
 * @Author: wangzd
 * @Date: 2020/7/1
 */
public enum MatchType {

    equal("="),

    in("in"),

    //下面四个用于Number类型的比较
    gt(">"),
    ge(">="),
    lt("<"),
    le("<="),

    notEqual("<>"),
    like("like"),
    notLike("not like"),
// 下面四个用于可比较类型(Comparable)的比较
//    greaterThan,        // field > value
//    greaterThanOrEqualTo,   // field >= value
//    lessThan,               // field < value
//    lessThanOrEqualTo   // field <= value ;
    //排序
    sort("sort");

    private String connector;

    public String getConnector() {
        return connector;
    }

    public void setConnector(String connector) {
        this.connector = connector;
    }

    MatchType(String connector){
        this.connector=connector;
    }
}
